import constants from '@/commons/constants';
const moduleCode = constants.MODULE_SYS_CODE;

export default [
    {
        path: '/withdraw',
        redirect: '/withdraw/record'
    },
    {
        path: '/withdraw/record',
        name: 'withdrawRecord',
        component: () => import('@/views/sys/withdraw/record/index.vue'),
        meta: {
            title: '提现记录',
            keepAlive: true,
            code: 'withdraw_record:view',
            moduleCode
        }
    },
    {
        path: '/withdraw/setting',
        component: () => import('@/views/sys/withdraw/setting/index.vue'),
        meta: {
            title: '提现设置',
            code: 'withdraw_setting:view',
            moduleCode
        }
    },
    {
        path: '/withdraw/income',
        component: () => import('@/views/sys/withdraw/income/index.vue'),
        meta: {
            title: '订单收入',
            code: 'withdraw_income:view',
            moduleCode
        }
    }
];
